<script setup lang="ts">
const props = defineProps({
    num: {
        type: String || Number , 
        default: '600' 
    }
});

</script>

<template>
    <view class="btn" ><text>立减</text>&nbsp;<text>{{num}}元</text></view>
</template>
<style lang="scss" scoped>
.btn{
    padding: 0 8rpx;
    height: 32rpx;
    line-height: 32rpx;
    border-radius: 10rpx;
    border: 2rpx solid #FF1717;
    font-family: PingFang SC;
    font-weight: bold;
    font-size: 20rpx;
    color: #FF1717;
}
</style>
